home *** CD-ROM | disk | FTP | other *** search
/ Gekikoh Dennoh Club 1 / Gekikoh Dennoh Club Vol. 1 (Japan).7z / Gekikoh Dennoh Club Vol. 1 (Japan) (Track 1).bin / kowin / archive / sys / kowin14d.lzh / include / gviewlib.h < prev    next >
C/C++ Source or Header  |  1995-09-02  |  575b  |  29 lines

  1. /*
  2.     GraphicView Copyright 1995 小笠原博之
  3.     oga@dgw.yz.yamagata-u.ac.jp
  4. */
  5.  
  6. #ifndef __WLIB__
  7. #include    <wlib.h>
  8. #endif
  9.  
  10. typedef struct t_gviewlib {
  11.     /* UserGraphic */
  12.         int    h, v;
  13.         int    color;
  14.         unsigned short    *buf,
  15.                 *palet;        /* ! */
  16.     /* G-view */
  17.         int    flag;
  18.         int    (*EventExec)( WindowID, EventInfo*,struct t_gviewlib*);
  19.         WindowID wp;
  20. }    GVIEW;
  21.  
  22. #define    fSLEEP        1
  23.  
  24.  
  25. extern void    GViewOpen( int, int, GVIEW*, char*, int );
  26. extern void    GViewRedraw( GVIEW*, int );
  27. extern void    GViewSetPalet( GVIEW* );
  28. extern GVIEW    *GViewAlloc( int, int, int, int );
  29.